package com.tanhua.dubbo.api;


import com.tanhua.model.domain.User;

public interface UserApi {
    //根据手机号查询用户
   public User findByMobile(String mobile);
    //保存新用户
    public Long save(User user);

    void update(User user);

    User findById(Long userId);

    User findByHuanxin(String huanxinId);
}
